// 开启mock服务器
import Mock from 'mockjs'
import data from './listData.json'
import crowdList from './crowdList.json'
import cateList from './cateList.json'
import selectFloors from './selectFloors.json'
import searchList from './searchList.json'
import detailList from './detail.json'
// 配置mock服务器
Mock.mock('/mock/report/data', { code: 200, success: '成功！', data })

Mock.mock('/mock/crowdlist', 'get', {
  code: 200,
  message: 'ok',
  data: crowdList,
})

Mock.mock('/mock/catelist', 'get', {
  code: 200,
  message: 'ok',
  data: cateList,
})
//甄选页面的mock数据
Mock.mock('/mock/selectFloors', 'get', {
  code: 200,
  message: 'ok',
  data: selectFloors,
})
Mock.mock('/mock/searchlist', 'get', {
  code: 200,
  message: 'ok',
  data: searchList,
})
Mock.mock('/mock/detailList','get',{
  code:200,
  message:'OK',
  data:detailList,
})
